### Parameters

| Parameter                     | Type                        | Default                                    | Description                                                  |
| ----------------------------- | --------------------------- | ------------------------------------------ | ------------------------------------------------------------ |
| `id`                          | `str`                       | `sentence-transformers/all-MiniLM-L6-v2`   | The name of the SentenceTransformers model to use            |
| `dimensions`                  | `int`                       | `384`                                      | The dimensionality of the generated embeddings               |
| `sentence_transformer_client` | `Optional[SentenceTransformer]` | `None`                                 | Optional pre-configured SentenceTransformers client instance |
| `prompt`                      | `Optional[str]`             | `None`                                     | Optional prompt to prepend to input text                     |
| `normalize_embeddings`        | `bool`                      | `False`                                    | Whether to normalize returned vectors to have length 1       |